package com.tedu.egweibo.mapper;

import com.tedu.egweibo.pojo.entity.Weibo;
import com.tedu.egweibo.pojo.vo.WeiboDetailVO;
import com.tedu.egweibo.pojo.vo.WeiboVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper

public interface IWeiboMapper {
 public int insert(Weibo weibo);

 public List<WeiboVO> selectAll();

 public WeiboDetailVO selectById(Integer id);
}
